<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>

<!DOCTYPE html>
<html>
<head>
<title>编辑合同</title>
<meta name="decorator" content="default" />
<style type="text/css">
.input.normal {
	width: 200px !important;
}
</style>
<script type="text/javascript">
	$(function() {
		//上传控件
		$(".upload-app").InitUploader({ type:'contract', filesize: "", sendurl: "${ctx}/qd/upload", swf: "${ctxStatic}/scripts/webuploader/uploader.swf", filetypes: "*" });
		//初始化表单验证
		$("#inputForm").initValidform();
		//获取是否断号
		var contractid = $("#contractid").val();
		var broken = null;
		$.post("${ctx}/qd/contract/getbroken?method=getbrokenbyid", {
			"contractid" : contractid
		}, function(result) {
			if (result != "") {
				$("#broken").val(result);
				broken = result;
				if(contractid != null && contractid !="" ){
					$("#code").attr("readOnly","true");
					if(broken != "0"){
							$("#brokenDiv").attr("style","float: left; width: 50%;");
							$("#brokenReasonDiv").attr("style","float: left; width: 50%;");
						}else{
							$("#brokenDiv").attr("style","float: left; width: 50%;display:none;");
							$("#brokenReasonDiv").attr("style","float: left; width: 50%;display:none;");
						}
					}
			}
		}, "text");
		
		var proms = document.getElementsByName("promotionset");
		for(var i = 0 ; i<proms.length ; i++){
				if(proms.item(i).checked){
						var id = proms.item(i).getAttribute("value");
						getProm(id);
					}
			}
	});
	
	function addImage(parentObj, data){
		if(data.type=='contract'){
			$('#attachUrl').val(data.path);
		}
	}
	/* function getBrokenById(contractid){
		var broken = null;
		$.post("${ctx}/qd/contract/getbroken?method=getbrokenbyid", {
			"contractid" : contractid
		}, function(result) {
			if (result != "") {
				$("#broken").val(result);
				broken = result;
			}
		}, "text");
		return broken;
	} */

	function getMemberId() {
		var memberMobile = $("#memberMobile").val();
		var memberName = $("#memberName").val();
		$.post("${ctx}/qd/contract/ajax?method=getmemberid", {
			"memberMobile" : memberMobile,
			"memberName" : memberName
		}, function(result) {
			if (result != "") {
				$("#memberId").html(result);
				$('.rule-single-select').ruleSingleSelect();
			}
		}, "text");

		/*var studentName = $("#studentName").val();
		$.post("${ctx}/qd/contract/ajax?method=getstudentid", {
			"studentName" : studentName,
			"memberMobile" : memberMobile
		}, function(result) {
			if (result != "") {
				$("#studentId").html(result);
				$('.rule-single-select').ruleSingleSelect();
			}
		}, "text");*/
	}

	function getProm(id){
		if($("#prom"+id).prop("checked")){
			$.post("${ctx}/qd/contract/getprom",
			{"setId":id},
			function(result){
				if(result != ""){
					var prom = document.createElement("p");
					prom.innerHTML = result;
					prom.setAttribute("id","hint"+id)
					$("#promhint").append(prom);
				}
			},"text");
		}else{
			$("#hint"+id).remove();
		}
	}
	
	function getStudentId() {
		var studentName = $("#studentName").val();
		$.post("${ctx}/qd/contract/ajax?method=getstudentid", {
			"studentName" : studentName,
		}, function(result) {
			if (result != "") {
				$("#studentId").html(result);
				$('.rule-single-select').ruleSingleSelect();
			}
		}, "text");
	}

	function studentSave() {
		var studentName = $("#studentName").val();
		var memberMobile = $("#memberMobile").val();
		var studentId = $("#studentId option:selected").val();
		if (studentId == 0) {//判定是否为新建
			$.post("${ctx}/qd/contract/ajax?method=studentsave", {
				"studentName" : studentName,
				"memberMobile" : memberMobile
			}, function(result) {
				if (result != "") {
					$("#studentId").html(result);
					$('.rule-single-select').ruleSingleSelect();
				}
			}, "text");
		}
	}
	
	function getBroken(){
		var code = $("#code").val();
		var contractid = $("#contractid").val();
		var isFree = document.getElementsByName("isFree");
		for ( i=0 ; i<isFree.length ; i++){
			if(isFree[i].checked){
				isFree = isFree[i].value;
				break;
			}
		}
		$.post("${ctx}/qd/contract/getbroken", 
			{"code" : code,"contractid":contractid,"isFree":isFree},
			function(result) {
				if(contractid != null){
					if (result != "") {
						if(result == "0"){//没断号
							$("#brokenDiv").attr("style","float: left; width: 50%;display:none;");
							$("#brokenReasonDiv").attr("style","float: left; width: 50%;display:none;");
							$("#broken").attr("value","0");
							$("#broken").attr("label","未断号");
							$("#broken").attr("checked","checked");
							$("#brokenReason").html("未断号");
						}else if(result =="1"){
							$("#brokenDiv").attr("style","float: left; width: 50%;");
							$("#broken").attr("checked","checked");
							$("#broken").attr("value","1");
							$("#brokenReasonDiv").attr("style","float: left; width: 50%;");
							$("#brokenReason").html("录错");
						}else if(result =="2"){
							$("#brokenDiv").attr("style","float: left; width: 50%;display:none;");
							$("#broken").attr("checked","checked");
							$("#brokenReasonDiv").attr("style","float: left; width: 50%;display:none;");
							$("#brokenReason").html("录错");
							$("#code").val("该编号等于或小于上次保存的编号");
						}else if(result =="-1"){
							$("#brokenDiv").attr("style","float: left; width: 50%;display:none;");
							$("#broken").attr("checked","checked");
							$("#brokenReasonDiv").attr("style","float: left; width: 50%;display:none;");
							$("#brokenReason").html("录错");
							$("#code").val("系统错误");
						}else{
						
						}
					}
				}
		}, "text");
	}
	
	function getLimitDate(){
		var validityTime = $("#validityTime option:selected").val();
		var signDate = $("#signDate").val();
		$.post("${ctx}/qd/contract/getlimitdate", { "validityTime": validityTime,"signDate":signDate },function (result) {
            if (result != "") {
               $("#limitDate").val(result);
           	}
        }, "text");
	}

	/* function add(){
		if(top){
			var width = $(top.window).width()-100,height=$(top.window).height()-100;
			var memberId = "";
			var studentId = "";
			var contractId = "";
			if('${contract.id}' != null){
				memberId = '${contract.member.id}';
				studentId = '${contract.student.id}';
				contractId = '${contract.id}';
			}
			
			top.dialog({
				title:'添加收支记录',
				url:'${ctx}/qd/contract/dialog?contractId='+contractId+'&memberId='+memberId+'&studentId='+studentId,
				width:width, 
				height:height
			}).showModal();
		} 
	} */
	
	//添加附件到界面
	function addImage(targetObj,data) {
		var attachTable = $("#attachtable");
		targetObj.siblings(".upload-name").val(data.name);
		targetObj.siblings(".upload-path").val(data.path);
		targetObj.siblings(".upload-size").val(data.size);
		
	    //插入到相册UL里面
	    var newLi = $('<tr>'
	    + '<input type="hidden" name="hid_attach_name" value="'+ data.type + '|' + data.name + '|' + data.path + '|' + data.size+	 ' " />'
	    + '<input type="hidden" name="hid_attach_remark" value="" />'
	    + '<td>'+data.name+'</td>'
	    + '<td><a href="javascript:;" onclick="delFile(this);">删除</a></td>'
	    + '</tr>');
	    newLi.appendTo(attachTable.children("tbody"));
	} 
	
	function delFile(obj){
		$(obj).parent().parent().remove();
	}
</script>

<style type="text/css">
	.prom{
		width:80%;
		border: 0.5px solid #ccc;
		float:left;
		font-size: 13px;
		font-family: sans-serif;
	}
</style>
</head>

<body class="mainbody">
	<form:form id="inputForm" modelAttribute="contract" action="${ctx}/qd/contract/save" method="post" class="form-horizontal">
		<form:hidden id="contractid" path="id" />
		<sys:message content="${message}" />

		<!--导航栏-->
		<div class="location">
			<a href="${ctx}/qd/contract/list" class="back"><i></i><span>返回列表页</span></a>
			<a href="${ctx}/center" class="home"><i></i><span>首页</span></a> <i
				class="arrow"></i> <a href="${ctx}/qd/contract/"><span>合同管理</span></a>
			<shiro:hasPermission name="qd:contract:edit">
				<i class="arrow"></i>
				<span>${not empty contract.id ? '修改':'添加' }合同</span>
			</shiro:hasPermission>
		</div>
		<div class="line10"></div>
		<!--/导航栏-->

		<!--内容-->
		<div id="floatHead" class="content-tab-wrap">
			<div class="content-tab">
				<div class="content-tab-ul-wrap">
					<ul>
						<li><a class="selected" href="javascript:;">合同信息</a></li>
					</ul>
				</div>
			</div>
		</div>

		<div class="tab-content">
			<div style="width: 100%">
				<div style="float: left; width: 50%;">
					<dl>
						<dt>合同编号</dt>
						<dd>
							<form:input id="code" path="code"  onblur="getBroken();" htmlEscape="false" maxlength="50" class="required" cssClass="input normal" datatype="/^\d/" nullmsg="请输入合同编号"
								errormsg="如果是体验就在下方选是" sucmsg=" " />
						</dd>
					</dl>
				</div>
				<div style="float: left; width: 50%;">
					<dl>
						<dt>所属顾问</dt>
						<dd>
							<div class="rule-single-select single-select">
								<form:select path="sales.id" htmlEscape="false" maxlength="50"
									class="required" cssClass="input normal" datatype="*"
									nullmsg="请选择顾问" errormsg="请选择顾问" sucmsg=" ">
									<form:option label="请选择...." selected="selected" value="" />
									<form:options items="${userList }" itemValue="id"
										itemLabel="name" />
								</form:select>
							</div>
						</dd>
					</dl>
				</div>
			</div>
			<dl>
				<dt>免费体验</dt>
				<dd>
					<div class="rule-multi-radio">
						<form:radiobutton name="isFree" path="isFree" value="0" label="否" htmlEscape="false"  checked="true" onclick="getBroken();" class="required" />
						<form:radiobutton name="isFree" path="isFree" value="1" label="是" htmlEscape="false" onclick="getBroken();" class="required" />
					</div>
				</dd>				
			</dl>
			<div style="width: 100%">
				<div style="float: left; width: 50%;">
					<dl>
						<dt>合同金额</dt>
						<dd>
							<form:input path="amount" htmlEscape="false" maxlength="50"
								class="required" cssClass="input normal" datatype="*"
								nullmsg="请输入合同金额" errormsg="请输入合同金额" sucmsg=" " />
						</dd>
					</dl>
				</div>
			</div>
			<div style="width: 100%">
				<div style="float: left; width: 50%;">
					<dl>
						<dt>会员真实姓名</dt>
						<dd>
							<form:input id="memberName" path="member.name" htmlEscape="false"
								maxlength="50" class="required" cssClass="input normal"
								datatype="*" nullmsg="请输入会员真实姓名" errormsg="请输入会员真实姓名" sucmsg=" " />
						</dd>
					</dl>
				</div>
				<div style="float: left; width: 50%;">
					<dl>
						<dt>会员手机号</dt>
						<dd>
							<form:input id="memberMobile" path="member.mobile"
								onblur="getMemberId();" htmlEscape="false" maxlength="50"
								class="required" cssClass="input normal" datatype="*"
								nullmsg="请输入会员的手机号" errormsg="请输入会员的手机号" sucmsg=" " />
							<span class="Validform_checktip">*请输入会员的手机号</span>
						</dd>
					</dl>
				</div>
			</div>
			<div style="width: 100%">
				<div style="float: left; width: 50%;">
					<dl>
						<dt>宝宝姓名</dt>
						<dd>
							<form:input id="studentName" path="student.name" onblur="getStudentId();" htmlEscape="false" maxlength="50" class="required" cssClass="input normal" datatype="*"
								nullmsg="请输入学员的姓名" errormsg="请输入学员的姓名" sucmsg=" " />
							<span class="Validform_checktip">*请输入学员的姓名</span>
						</dd>
					</dl>
				</div>
				<div style="float: left; width: 50%;">
					<dl>
						<dt>出生日期</dt>
						<dd>
							<div class="date-input">
								<i></i>
								<fmt:formatDate value="${contract.student.birthday}"
									pattern="yyyy-MM-dd" var="studentBirthday" />
								<form:input path="student.birthday"
									onclick="WdatePicker({dateFmt:'yyyy-MM-dd'});"
									value="${studentBirthday }" htmlEscape="false" maxlength="50"
									class="required" cssClass="input normal" datatype="*"
									nullmsg="请输入学员（宝宝）的出生日期" errormsg="请输入学员（宝宝）的出生日期" sucmsg=" " />
							</div>
						</dd>
					</dl>
				</div>
				<div style="width: 100%">
					<div style="float: left; width: 50%;">
						<dl>
							<dt>会员昵称</dt>
							<dd>
								<%-- <form:input id="memberId" path="member.id"  htmlEscape="false" maxlength="50" class="required" cssClass="input normal" datatype="*" nullmsg="请输入主键编号" errormsg="请输入主键编号" sucmsg=" "/> --%>
								<div class="rule-single-select single-select">
									<form:select id="memberId" path="member.id">
										<form:option value="" selected="selected" label="请选择..." />
										<form:options items="${memberList }" selected="selected"
											itemValue="id" itemLabel="nikename" />
									</form:select>
								</div>
								<span class="Validform_checktip">输入会员手机号码,系统自动查询</span>
							</dd>
						</dl>
					</div>
					<div style="float: left; width: 50%;">
						<dl>
							<dt>宝宝信息</dt>
							<dd>
								<%-- <form:input id="studentId" path="student.id" htmlEscape="false" maxlength="50" class="required" cssClass="input normal" datatype="*" nullmsg="请输入学员编号" errormsg="请输入学员编号" sucmsg=" "/> --%>
								<div class="rule-single-select single-select">
									<form:select id="studentId" path="student.id" >
										<form:option value="" selected="selected" label="输入学员姓名,系统自动查询" />
										<form:options items="${studentList }" selected="selected" itemValue="id" itemLabel="name" />
									</form:select>
								</div>
							</dd>
						</dl>
					</div>
				</div>
			</div>
			<div style="width: 100%">
				<div style="float: left; width: 50%;">
					<dl>
						<dt>宝宝性别</dt>
						<dd>
							<div class="rule-multi-radio">
								<form:radiobuttons path="student.sex"
									items="${fns:getDictList('sex')}" itemValue="value"
									itemLabel="label" htmlEscape="false" class="required" />
							</div>
						</dd>
					</dl>
				</div>
				<div style="float: left; width: 50%;">
					<dl>
						<dt>选择状态</dt>
						<dd>
							<div class="rule-multi-radio">
								<form:radiobutton path="abort" selected="selected" value="0"
									label="正常" htmlEscape="false" class="required" />
								<form:radiobutton path="abort" value="1" label="中止"
									htmlEscape="false" class="required" />
							</div>
						</dd>
					</dl>
				</div>
			</div>
			<div style="width: 100%">
				<div style="float: left; width: 50%; display: none">
					<dl>
						<dt>早教中心编号</dt>
						<dd>
							<form:input path="center.id" htmlEscape="false" maxlength="50"
								class="required" cssClass="input normal" datatype="*"
								nullmsg="请输入早教中心编号" errormsg="请输入早教中心编号" sucmsg=" " />
						</dd>
					</dl>
				</div>
				<div style="float: left; width: 50%;">
					<dl>
						<dt>合同签订日期</dt>
						<dd>
							<div class="date-input">
								<i></i>
								<fmt:formatDate value="${contract.signDate}"
									pattern="yyyy-MM-dd" var="signDate" />
								<form:input id="signDate" path="signDate"
									onclick="WdatePicker({dateFmt:'yyyy-MM-dd'});"
									value="${signDate }" htmlEscape="false" maxlength="50"
									class="required" cssClass="input normal" datatype="*"
									nullmsg="请输入合同签订日期" errormsg="请输入合同签订日期" sucmsg=" " />
							</div>
						</dd>
					</dl>
				</div>
				<div style="float: left; width: 50%;">
					<dl>
						<dt>合同金额有效期</dt>
						<dd>
							<div class="rule-single-select single-select">
								<form:select id="validityTime" path="validityTime" htmlEscape="false"  onchange="getLimitDate();" maxlength="50" class="required" cssClass="input normal" datatype="*" nullmsg="请选择有效期" errormsg="请选择有效期" sucmsg=" ">
									<form:option label="请选择...." selected="selected" value="0" />
									<form:option value="8" label="8个月"></form:option>
									<form:option value="10" label="10个月"></form:option>
									<form:option value="12" label="12个月"></form:option>
									<form:option value="16" label="16个月"></form:option>
									<form:option value="18" label="18个月"></form:option>
									<form:option value="24" label="24个月"></form:option>
									<form:option value="36" label="36个月"></form:option>
								</form:select>
							</div>
						</dd>
					</dl>
				</div>
				<div style="float: left; width: 50%;">
					<dl>
						<dt>有效期至</dt>
						<dd>
							<div class="date-input">
								<i></i>
								<fmt:formatDate value="${contract.limitDate}" pattern="yyyy-MM-dd" var="limitDate" />
								<form:input id="limitDate" path="limitDate"  value="${limitDate }"  onclick="WdatePicker({dateFmt:'yyyy-MM-dd'});" readonly="true" htmlEscape="false" maxlength="50" class="required" cssClass="input normal" datatype="*" nullmsg="请选择金额有效期" errormsg="请选择金额有效期" sucmsg=" " />
							</div>
						</dd>
					</dl>
				</div>
				<div style="float: left; width: 50%;">
					<dl>
						<dt>请假返款次数</dt>
						<dd>
							<form:hidden path="leavePriv.id"/>
							<form:input path="leavePriv.total" htmlEscape="false" maxlength="50"
								class="required" cssClass="input small" datatype="/\d+/" nullmsg="请输入请假返款次数" errormsg="请假返款次数输入有误" sucmsg=" " />
						</dd>
					</dl>
				</div>
				<%-- <div style="float: left; width: 50%;">
					<dl>
						<dt>中止返款次数</dt>
						<dd>
						<form:hidden path="abortPriv.id"/>
							<form:input path="abortPriv.total" htmlEscape="false" maxlength="50"
								class="required" cssClass="input small" datatype="/\d+/" nullmsg="请输入中止返款次数" errormsg="中止返款次数输入有误" sucmsg=" " />
						</dd>
					</dl>
				</div> --%>
				<div id="brokenDiv"  onload="getBroken();" style="float: left; width: 50%;display:none;">
					<dl>
						<dt id="brokenLabel">断号</dt>
						<dd>
							<div class="rule-multi-radio">
								<form:radiobutton id="broken" checked="checked" path="broken" value="0" label="断号" htmlEscape="false" class="required" />
							</div>
						</dd>
					</dl>
				</div>
				<div id="brokenReasonDiv" style="float: left; width: 50%;display: none;">
					<dl>
						<dt>断号理由</dt>
						<dd>
							<form:textarea id="brokenReason" path="brokenReason"  maxlengrh="20"  class="required" cssClass="input normal"  datatype="*" nullmsg="请输入断号理由" errormsg="断号理由输入有误" sucmsg=" " />
							<span class="Validform_checktip">请输入断号理由</span>
						</dd>
					</dl>
				</div>
			 	 <dl>
					<dt>附件</dt>
					<dd>
				<div class="table-container">
					<table class="border-table" style="text-align: center" id= "attachtable">
								<thead>
									<tr>
									<th>文件名</th>
									<th>操作</th>
									</tr>
									</thead>
									<tbody >
									<c:forEach items="${contractAttach}" var="attach">
										<tr>
											<input type="hidden" name="hid_attach_name" value="${attach.category }|${attach.fileName }|${attach.filePath }|${attach.fileSize }">
											<input type="hidden" name="hid_attach_remark" value="${attach.fileName  }">
											<td>${attach.fileName }</td>
											<td><a href="${ctx }/../download/downloadfile?filepath=upload/${attach.filePath }&filename=${ attach.fileName}">下载</a>|
					                        		<a href="javascript:;" onclick="delFile(this);">删除</a></td>
				                   		</tr>
									</c:forEach>
								</tbody>
							</table>
						</div>
						<div class="upload-box upload-app"></div>
						<%-- <div class="photo-list">
						<ul>
							<c:forEach items="${contractAttach }" var="attach">
								<li>
								<input type="hidden" name="hid_attach_name" value="${attach.category }|${attach.fileName }|${attach.filePath }|${attach.fileSize }">
	                        		<input type="hidden" name="hid_attach_remark" value="${attach.fileName  }">
	                        		<div class="img-box"  onclick="setFocusImg(this);">
	                        			<img src="${ctxStatic}/images/icon_attch.png"  width="400px" height="400px">
	                        			<span class="remark"><i>${ attach.fileName}</i></span>
	                        		</div>
	                        		<a href="javascript:;" onclick="setRemark(this);">描述(更名)</a>
	                        		<a href="${ctx }/../download/downloadfile?filepath=upload/${attach.filePath }&filename=${ attach.fileName}">下载</a>
	                        		<a href="javascript:;" onclick="delImg(this);">删除</a>
							</c:forEach>
						</ul>
						</div> --%>
					</dd>
				</dl>
				<dl>
				<dt>选择优惠</dt>
					<dd>
						<div class="rule-multi-porp">
							<c:forEach items="${promotionsetList}" var="promotionset">
										<input  name="promotionset"  id="prom${promotionset.id}"  onclick="getProm(${promotionset.id})" class="input normal" maxlength="50" value="${promotionset.id}"  <c:if test="${promotionset.checked}">checked="checked"</c:if> type="checkbox">
										<label  for="promotionset">${promotionset.name}</label>
							</c:forEach>
						</div>
						<div class="prom" id="promhint">
							
						
						</div>
					</dd>
				</dl>
			</div>
			<!--列表-->
			<br />
			<br />
			<br />
			<dl style="float: left">
				<dt>收支记录</dt>
			</dl>
			<br />
			<br />
			<br />
			<%--   <div class="btn-wrap">
					<input type="button"  onclick="add();"  value="新增" class="btn" /> 
					</div>
					<br/>  --%>
			<div class="table-container" >
				<table class="border-table" style="text-align: center" id ="attach-table">
					<thead>
						<tr>
							<th width="25">选择</th>
							<th width="100">交易金额</th>
							<th width="100">收支类型</th>
							<th width="100">支付方式</th>
							<th width="100">支付单号</th>
							<th width="100">发生日期</th>
							<th width="100">状态</th>
							<th width="100">创建人</th>
							<th width="100">作废人</th>
							<th width="100">作废理由</th>
						</tr>
					</thead>
					<tbody>
						<c:forEach items="${page.list}" var="transrecord">
							<tr>
								<td style="text-align: center;"><span class="checkall"
									style="vertical-align: middle;"> <input type="checkbox"
										name="checkall" value="${transrecord.id}" />
								</span> <input type="hidden" name="checkall" value="${transrecord.id}" />
								</td>
								<td>${transrecord.money}</td>
								<td><c:choose><c:when test="${transrecord.inout ==1 }">支</c:when><c:when test="${transrecord.inout ==0 }">收</c:when></c:choose></td>
								<td><c:choose>
										<c:when test="${transrecord.payType==0}">pos机刷卡</c:when>
										<c:when test="${transrecord.payType==1}">微信支付</c:when>
										<c:when test="${transrecord.payType==2}">支付宝支付</c:when>
										<c:when test="${transrecord.payType==3}">银联在线支付</c:when>
										<c:when test="${transrecord.payType==4}">系统返还</c:when>
										<c:when test="${transrecord.payType==6}">现金支付</c:when>
										<c:otherwise>系统扣费</c:otherwise>
									</c:choose></td>
								<td>${transrecord.payCode}</td>
								<td><fmt:formatDate value="${transrecord.payDate}"
										pattern="yyyy-MM-dd" /></td>
								<td><c:choose>
										<c:when test="${transrecord.invalid==0}">生效</c:when>
										<c:otherwise>作废</c:otherwise>
									</c:choose></td>
								<td>${transrecord.createBy.name}</td>
								<td>${transrecord.invalidBy}</td>
								<td>${transrecord.invalidReason}</td>
							</tr>
						</c:forEach>
					</tbody>
				</table>
			</div>
			<!--/列表-->
		</div>
		<!--/内容-->

		<!--工具栏-->
		<div class="page-footer">
			<div class="btn-wrap">
				<input type="submit" name="btnSubmit" value="提交保存" id="btnSubmit"
					class="btn" /> <input name="btnReturn" type="button" value="返回上一页"
					class="btn yellow" onclick="javascript:history.back(-1);" />
			</div>
		</div>
		<!--/工具栏-->
	</form:form>
</body>
</html>

